TAR Çıkarma

TAR files are most commonly used for bundling and compressing multiple files and directories into a single archive. However, extracting them could be troublesome at times, as they are used in conjunction with GZIP and BZIP2. However, with the versatility of IronZIP, we can simply call the IronTarArchive class to extract the contents of the TAR for the last layer and then further extract it in the second format, all within a single library.

TAR Arşivini Çıkarma

Başlamak için, projemize erişim sağlamak üzere IronZip ad alanını dahil etmemiz gerekiyor. We can then use the IronTarArchive class to extract the contents of the TAR file with the method ExtractArchiveToDirectory.

Bu fonksiyonun, bir TAR dosyasının içeriğini belirli bir dizine açmak için tasarlanmıştır. İlk parametre, çıkartmak istediğiniz TAR dosyasının tam yolu olmalıdır. İkinci parametre, çıkarılan dosyaların saklanacağı hedef klasörü belirtir.

ZIP Dosyalarını Oluşturmayı, Okumayı ve Çıkarmayı Öğrenin

Başlamaya Hazır mısınız?
Nuget İndirmeler 19,717 | Sürüm: 2026.4 just released
Still Scrolling Icon

Hala Kaydiriyor musunuz?

Hızlı bir kanit mi istiyorsunuz? PM > Install-Package IronZip
bir örnek çalıştırın dosyalarınızın bir arşiv haline gelmesini izleyin.